﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Maui.Devices.Sensors;

namespace MauiApp1.Models
{
    public class ClockinDb
    {
        public int UserId;
        public string UserName;
        public DateTime ClockinTime;
        public double Latitude;
        public double Longitude;
        public int ClockinId;

        public ClockinDb(User nowuser, Location location2, DateTime time)
        {
            UserId = nowuser.Id;
            UserName = nowuser.UserName;
            Latitude = location2.Latitude;
            Longitude = location2.Longitude;
            ClockinTime = time;
        }
    }
}

